package com.ants.boot.system.dao;

import com.ants.boot.system.domain.SysUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;
import java.util.Map;

/**
 * @author 蚂蚁会花呗
 * @date 2021/11/26 14:54
 */
public interface SysUserMapper extends BaseMapper<SysUser> {

    /**
     * 根据用户名查询
     * @return
     */
    SysUser findByUsername(String username);

    /**
     * 分页查询
     * @param paramMap
     * @return
     */
    List<SysUser> selectPageInfo(Map<String,Object> paramMap);

}
